package com.kfm.base.member;

public class A {

    static int a;

    static {
        System.out.println("A static{}");
    }

    static class B{
        static{
            System.out.println("A$B static{}");
        }
        static int a;
    }

    class C {
        static int a;
        static {
            System.out.println("A$C static{}");
        }
    }

    public static void test(){
        System.out.println(B.a);
        System.out.println(C.a);
    }
}


class TestA{

    public static void main(String[] args) {
//        A.test();
        A.B b = new A.B();
        A.B b1 = new A.B();

        b.a = 2;

        System.out.println(b1.a);
    }
}


